package com.piggy.logi.sys.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 运单订单关联表 logi_waybill_order_relate
 *
 * @author fengxy
 * @date 2024/01/19 10:21
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("logi_waybill_order_relate")
public class LogiWaybillOrderRelate implements Serializable {

    private static final long serialVersionUID=1L;

    /** 主键 */
    @ApiModelProperty("主键")
    @TableId(value = "id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 部门id */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty("服务商部门id")
    private Long deptId;

    /** 运单id */
    @ApiModelProperty("运单id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long waybillId;

    /** 运单号 */
    @ApiModelProperty("运单号")
    private String outCode;

    /** 订单id */
    @ApiModelProperty("订单id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long goodOrderId;

    /** 订单号 */
    @ApiModelProperty("订单号")
    private String orderCode;

    /** 订单类型：0.线下订单 1.线上订单 */
    @ApiModelProperty("订单类型：0.线下订单 1.线上订单")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Integer goodOrderType;
}
